<template>
    <div class="customization">
        <div class="liuhai"></div>
        <div class="customization-header">
            <div><i class="customization-icon" @click="goTo('/mine')">&#xe600;</i></div>
            <div>我的定制</div>
            <div></div>
        </div>
        <div class="customization-main">
            <div class="customization-main-title">
                <p>我的行程定制</p>
                <hr>
            </div>
            <ul class="customization-main-list">
                <li>
                    <div>
                        <span>12月11日</span>
                        <span>四姑娘山双沟桥</span>
                        <span>预计游玩2天</span>
                    </div>
                    <div>
                        <img src="../../../assets/dzbg01.png" alt="">
                    </div>
                </li>
                <li>
                    <div>
                        <span>12月16日</span>
                        <span>九寨沟</span>
                        <span>预计游玩2天</span>
                    </div>
                    <div>
                        <img src="../../../assets/dzbg02.png" alt="">
                    </div>
                </li>
                <li class="customization-main-list-add">
                    <p>待添加</p>
                    <div @click="goTo('/pertailor')">
                        <i class="customization-icon">&#xe623;</i>
                    </div>
                </li>
            </ul>
        </div>
        <div class="customization-footer">
            <p>
                推荐方案
            </p>
            <hr>
            <ul>
                <li>
                    <img src="../../../assets/dzct2.png" alt="">
                    <p>三日游</p>
                    <p>[四姑娘山]三日游这样玩最嗨皮</p>
                </li>
                <li>
                    <img src="../../../assets/dzct3.png" alt="">
                    <p>两日游</p>
                    <p>[稻城亚丁]雪山脚下,是梦境中的绝美风景</p>
                </li>
            </ul>
        </div>
    </div>
</template>

<script>
    export default {
        methods: {
            goTo(path) {
                this.$router.replace(path)
            },
        }
    }
</script>

<style scoped>
    .customization {
        background-color: white;
    }

    /*字体图标*/
    .customization-icon {
        font-family: iconfont;
        font-style: normal;
    }

    /*头部*/
    .customization-header {
        width: 100%;
        height: 96px;
        display: flex;
        flex-direction: row;
    }

    .customization-header > div {
        width: 33%;
        height: 100%;
    }

    .customization-header > div:nth-child(2) {
        width: 34%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 36px;
        color: #44444a;
    }

    .customization-header > div:nth-child(1) {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .customization-header > div:nth-child(1) > i {
        font-size: 36px;
        margin-left: 16px;
    }

    /*定制列表部分*/
    .customization-main {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    /*列表title*/
    .customization-main-title {
        width: 100%;
        height: 90px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .customization-main-title > p {
        width: 180px;
        height: 30px;
        font-size: 30px;
        line-height: 30px;
        margin-top: 26px;
        margin-left: 16px;
        color: #333333;
    }

    .customization-main-title > hr {
        margin-top: 4px;
        width: 180px;
        height: 4px;
        margin-left: 16px;
        background-color: #ec9b38;
        border: 0px;
    }

    /*列表内容部分*/
    .customization-main-list{
        width: 100%;
    }
    .customization-main-list > li{
        width: 100%;
        height: 400px;
    }
    .customization-main-list > li > div:nth-child(1){
        height: 26px;
        line-height: 26px;
        margin-top: 4px;
        margin-left: 78px;
        position: relative;
    }
    .customization-main-list > li > div:nth-child(1) > span{
        margin-left: 26px;
        font-size: 30px;
    }
    .customization-main-list > li > div:nth-child(1) > span:nth-child(1){
        margin-left: 0;
        color: #ec9b38;
    }
    .customization-main-list > li > div:nth-child(2){
        width: 606px;
        height: 300px;
        margin-top: 14px;
        margin-left: 78px;
        position: relative;
        border-radius: 20px;
    }
    .customization-main-list > li > div:nth-child(2) > img{
        width: 100%;
        height: 100%;
    }
    .customization-main-list > li >div:nth-child(1):before{
        content: "";
        position: absolute;
        width: 22px;
        height: 22px;
        background-color: #ec9b38;
        border-radius: 50%;
        top: 2px;
        left: -62px;
    }
    .customization-main-list > li >div:nth-child(2):before{
        content: "";
        position: absolute;
        width: 2px;
        height: 300px;
        background: url("../../../assets/xian01.png");
        top: 2px;
        left: -51px;
    }

    .customization-main-list-add > p{
        height: 26px;
        font-size: 26px;
        margin-top: 4px;
        line-height: 26px;
        margin-left: 78px;
        position: relative;
    }

    .customization-main-list-add > div{
        width: 606px;
        height: 300px;
        margin-top: 14px;
        background-color: #eeeeee;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .customization-main-list-add > div > i{
        font-size: 72px;
        color: #999999;
    }

    .customization-main-list-add > div:before{
        display: none;
    }

    .customization-main-list-add > p:before{
        content: "";
        position: absolute;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background-color: white;
        border: 4px #707070 solid;
        top: 0px;
        left: -60px;
    }

    /*footer部分*/
    .customization-footer{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .customization-footer > p{
        width: 112px;
        height: 28px;
        font-size: 28px;
        line-height: 28px;
        color: #666666;
        margin-left: -530px;
    }
    .customization-footer > hr{
        width: 112px;
        height: 4px;
        background-color: #ec9b38;
        border: 0px;
        margin-left: -530px;
        margin-top: 2px;
    }
    .customization-footer > ul{
        width: 668px;
        height: 330px;
        margin-top: 20px;
        margin-left: 20px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .customization-footer > ul > li{
        width: 330px;
        height: 330px;
        border-radius: 20px;
        position: relative;
    }
    .customization-footer > ul > li > img{
        width: 100%;
        height: 100%;
        position: absolute;
    }
    .customization-footer > ul > li > p{
        position: absolute;
        color: white;
    }
    .customization-footer > ul > li > p:nth-child(2){
        width: 100px;
        height: 36px;
        font-size: 22px;
        text-align: center;
        line-height: 36px;
        border-bottom-right-radius: 20px;
        border-top-left-radius: 20px;
        background-color: #ec9b38;
    }
    .customization-footer > ul > li > p:nth-child(3){
        width: 312px;
        height: 66px;
        margin-left: 20px;
        margin-top: 240px;
        font-size: 26px;
    }
</style>
